package com.ys.entity.shiro;

/**
 */
public class LoginUser {
	
    private String userId;   		//用户编号
    private String userName; 		//用户名称

    private String cid;			//所属公司编码
    private String cidName;		//所属公司名称
    private Long orgId;		//所属部门ID
    private String deptId;		//所属部门编码
    private String orgName;	//所属部门名称
    private Long operateOrgId;		// 运营机构ID
    private String operateOrgName;	// 运营机构名称
    private Long operateOrgNodeLft; // 运营机构左节点
    private Long operateOrgNodeRgt; // 运营机构右节点
    
    private Long roleId; // 角色ID
    private String roleName; // 角色名称
    
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getCidName() {
		return cidName;
	}
	public void setCidName(String cidName) {
		this.cidName = cidName;
	}
	public Long getOrgId() {
		return orgId;
	}
	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public Long getOperateOrgId() {
		return operateOrgId;
	}
	public void setOperateOrgId(Long operateOrgId) {
		this.operateOrgId = operateOrgId;
	}
	public String getOperateOrgName() {
		return operateOrgName;
	}
	public void setOperateOrgName(String operateOrgName) {
		this.operateOrgName = operateOrgName;
	}
	public Long getOperateOrgNodeLft() {
		return operateOrgNodeLft;
	}
	public void setOperateOrgNodeLft(Long operateOrgNodeLft) {
		this.operateOrgNodeLft = operateOrgNodeLft;
	}
	public Long getOperateOrgNodeRgt() {
		return operateOrgNodeRgt;
	}
	public void setOperateOrgNodeRgt(Long operateOrgNodeRgt) {
		this.operateOrgNodeRgt = operateOrgNodeRgt;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}


	@Override
	public String toString() {
		return "LoginUser{" +
				"userId='" + userId + '\'' +
				", userName='" + userName + '\'' +
				", cid='" + cid + '\'' +
				", cidName='" + cidName + '\'' +
				", orgId=" + orgId +
				", deptId='" + deptId + '\'' +
				", orgName='" + orgName + '\'' +
				", operateOrgId=" + operateOrgId +
				", operateOrgName='" + operateOrgName + '\'' +
				", operateOrgNodeLft=" + operateOrgNodeLft +
				", operateOrgNodeRgt=" + operateOrgNodeRgt +
				", roleId=" + roleId +
				", roleName='" + roleName + '\'' +
				'}';
	}
}
